package com.legendary.awesome;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;

public class Splash extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {	
		super.onCreate(savedInstanceState);
		setContentView(R.layout.splash);
		
		Thread t = new Thread()
		{
			public void run()
			{
				try
				{
					sleep(5000);
				}
				catch(InterruptedException e)
				{
					e.printStackTrace();
				}
				finally
				{
					Intent startapp = new Intent("com.legendary.awesome.MyActivityList");
					startActivity(startapp);
				}
			}
		};
		
		t.start();
	}
	
	@Override
	protected void onPause()
	{
		super.onPause();
		finish();
	}
	
}
